package org.zsk.cs.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.zsk.fastdev.annotations.FieldMap;

import java.io.Serializable;

/**
 * <p>
 * 角色 po
 * </p>
 *
 * @author zsk
 * @version 1.0
 * Created on 2020/03/26
 */
@Data
public class Role implements Serializable {

  /**
   * id
   */
  @TableId(type = IdType.AUTO)
  private Integer id;
  /**
   * ROLE_*
   */
  @FieldMap(comparator = "like")
  private String name;
  /**
   * 中文名
   */
  @FieldMap(comparator = "like")
  private String zhName;

}
